<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/head"></head>
<!--[if lt IE 7 ]>
<body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]>
<body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]>
<body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]>
<body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<body class="">
<!--<![endif]-->


<div th:include="/menu"></div>


<div class="content">

    <div class="header">

        <h1 class="page-title">修改用户信息</h1>
    </div>


    <div class="container-fluid">
        <div class="row-fluid">

            <div class="btn-toolbar">
                <button onclick="submitEdit()" class="btn btn-primary"><i class="icon-save"></i> 保存</button>
                <div class="btn-group">
                </div>
            </div>
            <div class="well">
                <div id="myTabContent" class="tab-content">
                    <div class="tab-pane active in" id="home">
                        <form id="edit" action="edit" method="post">
                            <label>手机号码</label>
                            <input type="text" th:value="${user.mobilephone}" disabled="disabled" class="input-xlarge">
                            <label>用户昵称</label>
                            <input type="text" th:value="${user.nickName}" name="nickName" class="input-xlarge">
                            <input type="hidden" th:value="${user.id}" name="userId" class="input-xlarge">
                            <label>状态</label>
                            <select name="status" id="DropDownTimezone" class="input-xlarge">
                                <option value="0">启用</option>
                                <option value="1">禁用</option>
                            </select>
                        </form>
                    </div>
                    <div class="tab-pane fade" id="profile">
                        <form id="tab2">
                            <label>New Password</label>
                            <input type="password" class="input-xlarge">

                            <div>
                                <button class="btn btn-primary">Update</button>
                            </div>
                        </form>
                    </div>
                </div>

            </div>


            <footer>
                <!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
                <p class="pull-right">A <a href="http://www.portnine.com/bootstrap-themes" target="_blank">Free
                    Bootstrap Theme</a> by <a href="http://www.mycodes.net/" title="源码之家" target="_blank">源码之家</a></p>

                <p>&copy; 2012 <a href="http://www.mycodes.net/" title="源码之家" target="_blank">源码之家</a></p>
            </footer>

        </div>
    </div>
</div>
<script>
    function submitEdit(){
        $("#edit").submit();
    }
</script>

<script th:src="@{/lib/bootstrap/js/bootstrap.js}"></script>
<script type="text/javascript">
    $("[rel=tooltip]").tooltip();
    $(function () {
        $('.demo-cancel-click').click(function () {
            return false;
        });
    });
</script>

</body>
</html>


